package zuoye881;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
	private int stuno;
	private String sname;
	private String sex;
	private long telephone;
	private long qq;
	private String wechat;
	private int gradeid;
	private String fromcity;
	private Date birthday;
	private String addr;
	private long pass;

	public Student() {
		super();
	}

	public Student(int stuno, String sname, String sex, long telephone,
			long qq, String wechat, int gradeid, String fromcity,
			Date birthday, String addr, long pass) {
		super();
		this.stuno = stuno;
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.addr = addr;
		this.pass = pass;
	}

	public int getStuno() {
		return stuno;
	}

	public void setStuno(int stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public long getTelephone() {
		return telephone;
	}

	public void setTelephone(long telephone) {
		this.telephone = telephone;
	}

	public long getQq() {
		return qq;
	}

	public void setQq(long qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public int getGradeid() {
		return gradeid;
	}

	public void setGradeid(int gradeid) {
		this.gradeid = gradeid;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public long getPass() {
		return pass;
	}

	public void setPass(long pass) {
		this.pass = pass;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", sex=" + sex
				+ ", telephone=" + telephone + ", qq=" + qq + ", wechat="
				+ wechat + ", gradeid=" + gradeid + ", fromcity=" + fromcity
				+ ", birthday=" + birthday + ", addr=" + addr + ", pass="
				+ pass + "]";
	}

}
